package com.aggregate.iot.sanstar.device.support.client;

import com.aggregate.iot.sanstar.device.bean.CmdAddData;
import com.aggregate.iot.sanstar.device.bean.CmdAddResult;
import com.aggregate.iot.sanstar.device.support.AbstractClient;
import com.aggregate.iot.sanstar.device.support.Factory;
import com.aggregate.iot.sanstar.device.support.Merch;

/**
 * 添加指令
 * @author Moyq5
 * @date 2019年3月26日
 */
public class CmdAdd extends AbstractClient<CmdAddData, CmdAddResult> {

	public CmdAdd(Merch merch) {
		super(merch);
	}

	@Override
	protected String getServerPath() {
		return Factory.getConfig().serverPath() + "/cmd/add";
	}

	@Override
	protected Class<CmdAddResult> getResultClass() {
		return CmdAddResult.class;
	}

}
